Vapi Metadata Metamodel PrimitiveValue

Vapi Metadata Metamodel PrimitiveValue
Vapi Metadata Metamodel PrimitiveValue

The Vapi Metadata Metamodel PrimitiveValue schema contains value of the constant element.

JSON Example
{
    "type": "string",
    "boolean_value": false,
    "double_value": "number",
    "long_value": 0,
    "string_value": "string"
}
string
type
Required

Type of the constant value.

For more information see: Vapi Metadata Metamodel PrimitiveValue Type.

boolean
boolean_value
Optional

Boolean value of the constant.

This property is optional and it is only relevant when the value of type is Vapi Metadata Metamodel PrimitiveValue Type.BOOLEAN.

number As double As double
double_value
Optional

Double value of the constant.

This property is optional and it is only relevant when the value of type is Vapi Metadata Metamodel PrimitiveValue Type.DOUBLE.

integer As int64 As int64
long_value
Optional

Long value of the constant.

This property is optional and it is only relevant when the value of type is Vapi Metadata Metamodel PrimitiveValue Type.LONG.

string
string_value
Optional

String value of the constant.

This property is optional and it is only relevant when the value of type is Vapi Metadata Metamodel PrimitiveValue Type.STRING.